<?php
/************************************************************
*                                                           *
*       author: Sebastian Elias Franco Brantes              *
*       description: Control Base para todos los demas      *
*                   Realiza el instancia al motor de vistas *
*       Date: 18-06-2012                                    *
*                                                           *
************************************************************/
abstract class ControllerBase {
 
    protected $view;
    public    $cssJs;
 
    function __construct()
    {
        
        $this->view = new View();
        require_once ("./Protected/Controllers/CssJsController.php");
     
        /***********************************************************************
         *******REALIZAR EL CARGADO DE CSS Y JS SEGUN CONTROLADOR Y ACCION *****
         ***********************************************************************/
        //<editor-fold defaultstate="collapsed" desc="CSS JS">
        $sadsf  = "";
        if(isset($_GET['cpanelsf'])){
            $sadsf = $_GET['cpanelsf'];
        }
        $accion  = "";
        if(isset($_GET['cpanelsf'])){
            $accion = $_GET['accion'];
        }
        $this->cssJs = new CssJsController($sadsf, $accion);
        //</editor-fold>
        

   }
}
?>
